<%@page import="com.mmy.domain.sys.TSysUser"%>
<%@page import="com.mmy.domain.bidtender.TBidTender"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
 <%
 	TSysUser tSysUser = (TSysUser)session.getAttribute("tSysUser");
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/include1.jsp"></jsp:include>
		
<script src="js/date.js"></script>
		
	</head>
	<body>
		<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/FrontHeader.jsp"></jsp:include>
		<div id="index-back">
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<main class="at-padding-large-bottom">
			<article>
				<header class="frontbg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
					<div class="page-header container">
			<div class="row">
				<div class="span-12 col">
					<h2>
						<label>投标详情</label>
						</h2>
				</div>

			</div>
		</div>
				</header>
				<section class="container">
					<!-- 投标基本信息 -->
					<div class="information" >
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>投标基本信息
						</h4>
					<div class="input-container">
					<table class="info-table">
						<tr>
								
								<th><label >招标名称</label></th>
								<td colspan="5">
								<input type="hidden" id="TenderID" value="${dbBidTender.getTenderID()}"/>
									<label>${dbBidTender.getInviteName()}</label>
								</td>
								</tr>
								<tr>
								
								<th><label>投标公司名称</label></th>
								<td colspan="2">
								 <label>${dbBidTender.getOrgName()}</label>
								</td>
								<th><label >出行日期及返程日期</label></th>
								<td colspan="2">				
						<fmt:formatDate value='${dbBidTender.getOutDate()}' pattern='yyyy-MM-dd'/>
						--
						<fmt:formatDate value='${dbBidTender.getBackDate()}' pattern='yyyy-MM-dd'/>
						</td>
								
							</tr>
							<tr>
								
								<th><label>预算金额</label></th>
								<td colspan="2">
								 <label>${dbBidTender.getBudget()}</label>
								</td>
								<th><label >旅游天数</label></th>
								<td colspan="2">				
						<label>${dbBidTender.getDay()}</label>
						</td>	
							</tr>
							<tr>
					<th><label >自费项目</label></th>
						<td colspan="5">
						<label>${dbBidTender.getOwn()}</label>
					</td>
					
				</tr>
				<tr>
					<th><label >温馨提示</label></th>
						<td colspan="5">
						<label>${dbBidTender.getTips()}</label>
					</td>
				</tr>
				<tr>
					<th><label >接待标准</label></th>
						<td colspan="5">
						<label>${dbBidTender.getStandard()}</label>
					</td>
				</tr>
				<tr>
					<th><label >接待说明</label></th>
						<td colspan="5">
						<label>${dbBidTender.getExplain()}</label>
					</td>
				</tr>
				
				<tr>
					<th><label>备注</label></th>
						<td colspan="5">
						<label>${dbBidTender.getMemo()}</label>
					</td>
				</tr>
	</table>
			</div>
				<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>行程信息
						</h4>
					<div class="input-container">
				<table class="info-table">
					<!-- 循环显示每个用户的信息 用jstl-->
      					  <c:forEach items="${lstBidTrip}" var="lstBidTrip" varStatus="status">					
<tr>
<th rowspan="11"><label >第${lstBidTrip.getDay() }天</label></th>
<th ><label >地点</label></th>
<td ><label>${lstBidTrip.getAddress() }</label></td>
<th ><label >住宿</label></th>
<td ><label>${lstBidTrip.getStay() }</label></td>
<th ><label >含餐</label></th>
<td ><label>${lstBidTrip.getMeal() }</label></td>
</tr>
<tr>
<th ><label>具体行程</label></th>
<td colspan="5"><textarea name="Trip">${lstBidTrip.getTrip() }</textarea></td>
</tr>
<tr>
<th rowspan="4"><label >酒店照片</label></th>
<td><label >图片1:</label></td>
<td colspan="4" ><label>${lstBidTrip.getHotelPath1() }</label></td>
</tr>
<tr>
<td><label >图片2:</label></td>
<td colspan="4" ><label>${lstBidTrip.getHotelPath2() }</label></td>
</tr>
<tr>
<td><label >图片3:</label></td>
<td colspan="4" ><label>${lstBidTrip.getHotelPath3() }</label></td>
</tr>
<tr>
<td><label >图片4:</label></td>
<td colspan="4" ><label>${lstBidTrip.getHotelPath4() }</label></td>
</tr>
<tr>
<th rowspan="4"><label >景点照片</label></th>
<td><label >图片1:</label></td>
<td colspan="4" ><label>${lstBidTrip.getScenicPath1() }</label></td>
</tr>
<tr>
<td><label>图片2:</label></td>
<td colspan="4" ><label>${lstBidTrip.getScenicPath2() }</label></td>
</tr>
<tr>
<td><label >图片3:</label></td>
<td colspan="4" ><label>${lstBidTrip.getScenicPath3() }</label></td>
</tr>
<tr>
<td><label >图片4:</label></td>
<td colspan="4" ><label>${lstBidTrip.getScenicPath4() }</label></td>
</tr>
<tr>
<td><label >备注:</label></td>
<td colspan="5" ><textarea name="Memo">${lstBidTrip.getMemo() }</textarea></td>
</tr>

</c:forEach>
</table>
	</div>
	<h4 class="info-h4">
			<i class="fa fa-caret-right" aria-hidden="true" ></i>明细信息
	</h4>
	<div class="input-container">
	<table class="info-table">
	<!-- 循环显示每个用户的信息 用jstl-->
    <c:forEach items="${lstBidDetailed}" var="lstBidDetailed" varStatus="status">					
<tr>
<th rowspan="5"><label >明细名称</label></th>
<td rowspan="5"><label>${lstBidDetailed.getDetailedName() }</label></td>
<th ><label >报价</label></th>
<td colspan="3"><label>${lstBidDetailed.getBudget() }</label></td>
</tr>
<tr>
<th ><label >图片1</label></th>
<th ><label >图片2</label></th>
<th ><label >图片3</label></th>
<th ><label >图片4</label></th>
</tr>
<tr>
<td ><label>${lstBidDetailed.getHotelPath1() }</label></td>
<td ><label>${lstBidDetailed.getHotelPath2() }</label></td>
<td ><label>${lstBidDetailed.getHotelPath3() }</label></td>
<td ><label>${lstBidDetailed.getHotelPath4() }</label></td>
</tr>
<tr>
<th ><label >内容</label></th>
<td colspan="3"><textarea name="Content">${lstBidDetailed.getContent() }</textarea></td>
</tr>
<tr>
<th ><label>备注</label></th>
<td colspan="3"><textarea  name="Memo">${lstBidDetailed.getMemo() }</textarea></td>
</tr>
</c:forEach>
</table>
</div>
<center>
				
		<input type="button" class="btn" value="返回" onclick="rehidder()"/>
			</center> 
			</div>
			</section>
			</article>
			</main>
			<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main End -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
</div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<!-- /st-container -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Script Embed Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Slider -->
	<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
		<script>
			new GridScrollFx( document.getElementById( 'news-grid' ), {
				viewportFactor : 0.4
			} );
		</script>
</body>

</html>